import { LocalStoragePreset } from 'lowdb/lib/browser.js'

const defaultData = require('./data.json')

const db = LocalStoragePreset('db', defaultData)

export default db